package com.tongji.diy.event
{
	import com.tongji.diy.view.component3D.RoomBorder;
	
	import de.polygonal.ds.DListNode;
	
	import flash.events.Event;
	
	/**
	 * 
	 * @author Sun
	 * 
	 */
	
	public class ShowNewShapeEvent extends Event
	{
		public static const SHOW_NEW_SHAPE:String = "showNewShape";
		public static const SHOW_NEW_SHAPE_ARC:String = "showNewShapeArc";
		
		public var newPointArray:Vector.<DListNode>;
		public var border:RoomBorder;
		public var shapeType:uint;
		
		public function ShowNewShapeEvent(type:String,newPointArray:Vector.<DListNode>,border:RoomBorder,shapeType:uint)
		{
			super(type);
			this.newPointArray = newPointArray;
			this.border = border;
			this.shapeType = shapeType;
		}
		
		override public function clone():Event
		{
			return new ShowNewShapeEvent(type,newPointArray,border,shapeType);
		}
	}
}